<template>
    <div :class="'w-full h-full' + useDarkClass()"></div>
</template>

<script lang="ts" setup>
    import { useDarkClass } from "@/hooks/useCommon";
    const router = useRouter();
    const route = useRoute();
    console.log("跳转")
    onMounted(() => {
        router.replace((route.query.redirect as string) || "/");
    });
</script>

<style scoped lang="scss"></style>
